package com;

/**
 * @author 关忆北丶
 * @description:
 * @date :2021/6/30 15:06
 * 会员界面 获取当前位置
 */
public class ReceivingAddressBean {
    private int type;//是否开启GPS 1 开启
    private Address address;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }

    public static class Address {
        private long id;
        private AddressInfo province;
        private AddressInfo city;
        private AddressInfo district;
        private String name;
        private String phone;
        private String address;

        public long getId() {
            return id;
        }

        public void setId(long id) {
            this.id = id;
        }

        public AddressInfo getProvince() {
            return province;
        }

        public void setProvince(AddressInfo province) {
            this.province = province;
        }

        public AddressInfo getCity() {
            return city;
        }

        public void setCity(AddressInfo city) {
            this.city = city;
        }

        public AddressInfo getDistrict() {
            return district;
        }

        public void setDistrict(AddressInfo district) {
            this.district = district;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }


        public static class AddressInfo {
            public long id;
            public String name;

            public AddressInfo(long id, String name) {
                this.id = id;
                this.name = name;
            }
        }
    }
}